home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20031118-20041115
/
000049_Chris@bundy.co.uk_Tue Dec 9 11:39:36 2003.msg
< prev
next >
Wrap
Internet Message Format
|
2004-11-14
|
3KB
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!diablo.theplanet.net!mephistopheles.news.clara.net!newspeer.clara.net!news.clara.net!echo.uk.clara.net
From: Chris@bundy.co.uk
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Command line switches
Date: Tue, 09 Dec 2003 12:49:48 +0000
Sender: Chris
Reply-To: Chris@bundy.co.uk
Message-ID: <dogbtvo8mdk4hsenjjadeim47uajhc5dab@4ax.com>
References: <pqp8tv06mim45q30h48du92s90oklut9sl@4ax.com> <slrnbt91s0.o2u.fdc@sesame.cc.columbia.edu> <820atvkrg5tk7hkv0bn4r840kv6ab17r61@4ax.com> <slrnbta2q0.2a2.fdc@sesame.cc.columbia.edu>
X-Newsreader: Forte Agent 1.92/32.572
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@clara.net (please include full headers)
X-Trace: 600070707ed48080599afa10224068c5960b5baa22680040300868603fd5c4ef
NNTP-Posting-Date: Tue, 09 Dec 2003 12:49:51 +0000
Lines: 70
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14726
On 8 Dec 2003 23:37:36 GMT, Frank da Cruz
Frank
If I run the script stand alone it works great,
thank you. Its when I try to run it at boot that I
have problems.
I put the file I had created in phone.sh that I
had created in /usr/local/etc/rc.d
server01# more /usr/local/etc/rc.d/phone.sh
#!/bin/sh
/var/log/fred
exit
server01#
the script never concludes therefore the remaining
initialisation scripts never start.
I tried xterm -e but it coughed as its running as
root.
any thoughts would be appreciated.
Chris
So close
<fdc@columbia.edu> wrote:
>In article <820atvkrg5tk7hkv0bn4r840kv6ab17r61@4ax.com>,
>Chris@bundy.co.uk wrote:
>: On 8 Dec 2003 14:15:28 GMT, Frank da Cruz
>:<fdc@columbia.edu> wrote:
>:
>: ive tried your script but I get a syntax error end
>: of file unexpected expecting "then".
>:
>Did you follow the instructions? You have to put the
>"kerbang" line on top so the shell can start your
>Kermit executable to execute the script. It sounds to
>me like the shell is trying to execute the script
>itself.
>
>: If I can explain a little more, Im actual trying
>: to capture the data received at the port to a
>: file. I don't actually need to interact. if i want
>: to see current activity I tail the log file. The
>: data is generated by a call logger which I feed
>: into the data port of my freebsd file server.
>:
>The script I gave you should work for that. If you
>don't need see the stuff in real time, replace
>CONNECT with INPUT -1 STRING_THAT_WILL_NEVER_COME.
>
>Again, see:
>
> http://www.columbia.edu/kermit/ckscripts.html
>
>about "kerbang" scripts.
>
>- Frank